import { Routes, RouterModule }  from '@angular/router';
import { CarrierComponent } from './carrier.component';
import { CarrierDetailComponent } from './detail/carrier-detail.component';

const routes: Routes = [
  {
    path: '',
    component: CarrierComponent
  },
  {
      path:'detail/:carrier_id',
      component: CarrierDetailComponent
  },
];

export const routing = RouterModule.forChild(routes);